<template>
  <div style="display: flex; flex-wrap: wrap; gap: 20px;flex-direction: column;" >
    <StaticCard
      :edit="isEdit"
      ref="staticBonus"
      title="行政固定提成"
      :rate="adminConfig.rate"
    />
  </div>
</template>

<script>
import StaticCard from './compontents/StaticCard'

export default {
  name: 'AdminCards',
  components: {
    StaticCard
  },
  props: {
    isEdit: {
      type: Boolean,
      default: () => false
    },
        adminConfig: {
            type: Object,
      default: () => {}
    }
  },
  data () {
    return {
      // edit: false
    }
  },
  methods: {
    getConfig () {
      const { rate } = this.$refs.staticBonus.getValue()
      return { rate }
    }
  }
}
</script>
